import {createRouter,createWebHistory} from "vue-router";
import LoginView from '../views/LoginView.vue'

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: "/",
            name: "Login",
            component: LoginView,
        },
        {
            path: "/orderlist",
            component: () => import("../views/OrderListView.vue"),
            name: "OrderList"
        },
        {
            path: "/ordercontent",
            component: () => import("../views/OrderContent.vue"),
            name: "OrderContent"
        }
    ]
});

export default router;